package com.xueyi.gateway;

import com.xueyi.common.core.utils.JwtUtils;
import io.jsonwebtoken.Claims;

/**
 * @author zlf
 * @version 1.0
 * @data 2023/3/24 10:40
 */
public class test {


    public static void main(String[] args) {
        String token = "eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX3R5cGUiOiIwMCIsInVzZXJfaWQiOjEsInVzZXJfbmFtZSI6ImFkbWluIiwibmlja19uYW1lIjoiYWRtaW4iLCJpc19sZXNzb3IiOiJZIiwidXNlcl9rZXkiOiIxOjQ0OTJkNjk1LWFkNjQtNDA5Yy1iZTQ4LTg5ZTRjYjU1NDRhNCIsImVudGVycHJpc2VfaWQiOjEsImVudGVycHJpc2VfbmFtZSI6ImFkbWluaXN0cmF0b3IiLCJzb3VyY2VfbmFtZSI6InNsYXZlIn0.Cq47X53-IYzgq6C_b_W_7nu4ReJCAK71-iL29ul3h43nqzCqq2UYQ4caPG1tL5vYsI0i4YVpHstXRuwhgfEdzQ";

        Claims claims = JwtUtils.parseToken(token);
        System.out.println(claims);
    }
}
